.PHONY:mq_consumertest
mq_consumertest:mq_consumertest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
mq_routetest:mq_routetest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
mq_hosttest:mq_hosttest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
mq_msgtest:mq_msgtest.cpp ../mqcommon/mq_msg.pb.cc
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
bindingtest:mq_bindingtest.cpp
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
queuetest:mq_queuetest.cpp
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
exchangetest:mq_exchangetest.cpp
	g++ -std=c++11 $^ -o $@ -lgtest -lprotobuf -lsqlite3
filetest:mq_filetest.cpp
	g++ -std=c++11 $^ -o $@
clean:
	rm-rf filetest exchangetest